//
//  LLRowPickView.h
//  JoySpell
//
//  Created by linl on 2018/3/26.
//  Copyright © 2018年 xkdao. All rights reserved.
//

#import <UIKit/UIKit.h>

@class M1RowPickView;

extern NSString * const m1_RowPickerKeyName;
extern NSString * const m1_RowPickerKeyType;
extern NSString * const m1_RowPickerKeyValue;
extern NSString * const m1_RowPickerKeyData;
extern NSString * const m1_RowPickerKeyHoldText;
extern NSString * const m1_RowPickerKeyDefaultSelect;
extern NSString * const m1_RowPickerKeyKeyHasLine;
extern NSString * const m1_RowPickerKeyHasArrow;
extern NSString * const m1_RowPickerKeyHeight;
extern NSString * const m1_RowPickerKeyPickNum;
extern NSString * const m1_RowPickerKeyIsSelection;
extern NSString * const m1_RowPickerKeyEditable;
extern NSString * const m1_RowPickerKeyShowAttrs;
extern NSString * const m1_RowPickerKeyHoldAttrs;               

typedef void(^RowPickViewBlock)(M1RowPickView *row);

typedef NS_ENUM(NSUInteger, EnumPickType) {
    EnumPickType_button,
    EnumPickType_textfield,
};

@interface M1RowPickView : UIView

@property (nonatomic, strong) RowPickViewBlock m1_resultBlock;

@property (nonatomic, strong) NSMutableDictionary *m1_paramDic;

@property (nonatomic, strong) UILabel *m1_LBTitle;

@property (nonatomic, assign) UIEdgeInsets m1_edgeInsetsRow;


- (void)m1_updateData;

- (void)m1_updateValue:(NSString *)result value:(NSString *)value;

- (void)m1_updateNewView;

@end
